<?php /* Smarty version 2.6.26, created on 2012-08-18 13:36:13
         compiled from EyeCandy/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'load_language_text', 'EyeCandy/index.html', 1, false),array('function', 'gm_menuboxes', 'EyeCandy/index.html', 58, false),array('function', 'gm_footer', 'EyeCandy/index.html', 70, false),)), $this); ?>
<?php echo smarty_function_load_language_text(array('section' => 'index'), $this);?>


<?php 
if((substr_count($_SERVER["SCRIPT_NAME"], 'checkout_') > 0 || substr_count($_SERVER["SCRIPT_NAME"], 'paypal_checkout') > 0) && gm_get_conf('GM_LIGHTBOX_CART') == 'true' && gm_get_conf('GM_LIGHTBOX_CHECKOUT') == 'true') echo '<div id="pre_black_container"><div id="pre_black">&nbsp;</div></div>';

if(gm_get_conf('GM_SHOP_OFFLINE') != 'checked' || $_SESSION['customers_status']['customers_status_id'] == 0) {
	$show_page = true;
} else {
	$show_page = false;
}

if($show_page == false) {
	echo '<br/><br/><br/>'. gm_get_conf('GM_SHOP_OFFLINE_MSG') .'<br/><br/><br/>';
} else {
	 ?>
<div id="wrap_box" class="wrap_shop">
	<noscript>
		<div class="noscript_notice">
			<?php echo $this->_tpl_vars['txt']['text_noscript_notice']; ?>

		</div>
	</noscript>

	<?php echo $this->_tpl_vars['TOP_NAVIGATION']; ?>

	<?php echo $this->_tpl_vars['CATEGORIES_DROPDOWN']; ?>


	<div id="container">
		<div id="container_inner" class="clearfix">
			<div id="header">
				<?php if ($this->_tpl_vars['gm_logo']): ?><div id="shop_logo"><?php echo $this->_tpl_vars['gm_logo']; ?>
</div><?php endif; ?>
			</div>

			<?php echo $this->_tpl_vars['CATEGORIES_TOP']; ?>

			<?php echo $this->_tpl_vars['CONTENT_TOP']; ?>


			<div id="head_toolbox">
				<div id="head_toolbox_inner">
					<?php echo $this->_tpl_vars['TOP_SEARCH']; ?>


					<div id="breadcrumb_navi">
						<span><?php echo $this->_tpl_vars['navtrail']; ?>
</span>
					</div>

					<?php echo $this->_tpl_vars['SHOPPING_CART_HEAD']; ?>

				</div>
			</div>		

			<div id="main" class="clearfix">
				<?php if ($this->_tpl_vars['BANNER']): ?><div id="shop_top_banner"><?php echo $this->_tpl_vars['BANNER']; ?>
</div><?php endif; ?>
				<div id="main_inside">
					<?php echo $this->_tpl_vars['IMGSLIDER']; ?>

					<?php echo $this->_tpl_vars['main_content']; ?>

									
				</div>
			</div>

			<div id="left" class="clearfix">
				<?php echo smarty_function_gm_menuboxes(array('first' => 1,'last' => 100,'html' => '<div id="gm_box_pos_[COUNTER]" class="gm_box_container">[CONTENT]</div>'), $this);?>

				<?php echo smarty_function_gm_menuboxes(array('first' => 101,'last' => 200,'html' => '<div id="gm_box_pos_[COUNTER]" class="gm_box_container">[CONTENT]</div>'), $this);?>

			</div>

			<?php if ($this->_tpl_vars['COPYRIGHT_FOOTER']): ?>
				<div id="shopsoftware_by_gambio">
					<?php echo $this->_tpl_vars['COPYRIGHT_FOOTER']; ?>

				</div>
			<?php endif; ?>
		</div>
	</div>

	<?php echo smarty_function_gm_footer(array(), $this);?>


	<?php echo $this->_tpl_vars['CATEGORIES_SUBMENUS']; ?>


	<?php echo $this->_tpl_vars['SHOPPING_CART_DROPDOWN']; ?>

	
	<?php echo $this->_tpl_vars['LOGIN_DROPDOWN']; ?>

	<?php echo $this->_tpl_vars['INFOBOX_DROPDOWN']; ?>

	<?php echo $this->_tpl_vars['CURRENCIES_DROPDOWN']; ?>

	<?php echo $this->_tpl_vars['LANGUAGES_DROPDOWN']; ?>

</div>

	<?php 
}
 ?>